var viz;
function draw() {
    var config = {
        container_id: "viz",
        server_url: "bolt://localhost:7687",
        server_user: "neo4j",
        server_password: "jin13707297024",
        arrows:true,
        labels: {
            //"Character": "name",
					"人": {
						"caption": "高管姓名", //节点显示的内容
						"title_properties": [ //鼠标移到节点上显示的内容
							"年龄",
							"性别",
                            "职位",
                            "股票代码"
						]
					},
					"概念": {
						"caption": "概念名称",
                        "title_properties":[
                            "ConceptId"
                        ]
					},
                    "股票":{
                        "caption":"概念名称",
                        "title_properties":[
                            "ConceptId"
                        ]
                    },
                    "行业":{
                        "caption":"行业名称",
                        "title_properties":[
                            "Industry"
                        ]
                    }
        },
        relationships: {
            "belong_to":{
                "thickness":"关系的宽度",
                "caption":false,
            },
            "work_in":{
                 "thickness":"关系的宽度",
                "caption":true,

            }
        },
        initial_cypher: "MATCH (n:`新潮能源`) RETURN n LIMIT 25 "
    };

    viz = new NeoVis.default(config)
    viz.render();
    console.log(viz);
}